﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="DataLayer" namespace="DataLayer.Entities">
  <class name="DonutPreference" >
    <id name="DonutPreferenceId">
      <generator class="identity" />
    </id>
    <many-to-one name="User" column="UserId" lazy="false" />
    <many-to-one name="Donut" column="DonutId" lazy="false" />
    <!--<one-to-one name="User" class="User" />
    <one-to-one name="Donut" class="Donut" />-->
    <property name="OrderNumber" />
  </class>
</hibernate-mapping>